////
//  SYTabBarController.h
//  LotteryClient
//
//  Created by Suny on 14-7-5.
//  Copyright (c) 2014年 CTTC. All rights reserved.
//

#import "BaseViewController.h"
#import "TabBar.h"

@class TabViewController;
@protocol TabBarTapDelegate <NSObject>

@optional

- (BOOL)tabViewController:(TabViewController *)tabBarController willChangeToIndex:(NSInteger)index;


- (void)tabViewControllerDoubleTap:(TabViewController *)tabBarController;
- (void)tabViewControllerSingleTap:(TabViewController *)tabBarController;
- (void)tabViewControllerChangeSelectTap:(TabViewController *)tabBarController;

@end

@interface TabViewController : BaseViewController
@property (nonatomic, weak) id<TabBarTapDelegate> delegate;
@property (nonatomic, strong) TabBar *customTabBar;
@property (nonatomic, assign) CGFloat       tabBarHeight;
@property(nonatomic, assign) NSUInteger selectedIndex;
@property(nonatomic, copy) NSArray *viewControllers;
@property(nonatomic, assign, readonly) BaseViewController * selectedViewController;
@property(nonatomic) BOOL showBigItemCenter;
@end



